package org.cangkuguanli.zhuyaohui.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.cangkuguanli.zhuyaohui.bean.User;

@Mapper
public interface UserMapper {
    @Select("select * from `user`where username='username'and `password`=md5('password')")
    User login(User user);

    void add(User user);
}
